package main;

import view.ViewBezier;

public class SandBox
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		double[][] m1 = {	{1, 2},
							{3, 4}	};
		
		double[][] m2 = {	{5, 6, 7},
							{8, 9, 10} 	};
		/*
		 * 1*5 + 2*7 		1*6 + 2*8
		 * 3*5 + 4*7 		3*6 + 4*8
		 * 
		 * 19	22
		 * 43	50
		 */
		
		double[][] m3 = new double[5][3];
		
//		ViewBezier.matrixMult(m1, m2)
		printArray( ViewBezier.matrixMult(m1, m2) );
	}
	
	private static void printArray ( double[][] array )
	{
		for (int c=0; c<array.length; c++)
		{
			for (int r=0; r<array[0].length; r++)
				System.out.print(array[c][r]+" ");
			System.out.print("\n");
		}	
	}
	
}
